#!/bin/bash
val=0
sum=0
for val in {1..100}
do
  let sum=sum+val
  let val++
done
echo $sum
